
import SvgIcon from "./SvgIcon.vue"
interface GlobalComponents {
    [key: string]: any // 或者更具体的组件类型
}
const allGloablComponent: GlobalComponents = { SvgIcon }

export default {
    install(app: any) {
        Object.keys(allGloablComponent).forEach(key => {
            app.component(key, allGloablComponent[key])
        })
    }
}